home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / BARNET / ARMLINUX / MAIL / 9806 / 000053_owner-linux-arm…r.rutgers.edu _Thu Jun 4 01:33:38 1998.msg < prev    next >
Internet Message Format  |  1998-06-30  |  4KB

  1. Return-Path: <owner-linux-arm-outgoing@vger.rutgers.edu>
  2. Received: from virtual.bbc.co.uk (virtual.bbc.co.uk [132.185.132.199])
  3.     by odie.barnet.ac.uk (8.8.6/8.8.6) with ESMTP id BAA05266
  4.     for <willy@odie.barnet.ac.uk>; Thu, 4 Jun 1998 01:33:37 +0100
  5. Received: from nic.funet.fi (nic.funet.fi [128.214.248.6])
  6.     by virtual.bbc.co.uk (8.8.5/8.8.5) with ESMTP id BAA15649
  7.     for <willy@bofh.ai>; Thu, 4 Jun 1998 01:34:14 +0100 (BST)
  8. Received: from vger.rutgers.edu ([128.6.190.2]:49200 "EHLO vger.rutgers.edu" ident: "root") by nic.funet.fi with ESMTP id <11150-27883>; Thu, 4 Jun 1998 03:34:07 +0300
  9. Received: by vger.rutgers.edu id <971054-31949>; Wed, 3 Jun 1998 19:16:48 -0400
  10. Received: from odie.barnet.ac.uk ([194.82.202.98]:24671 "EHLO odie.barnet.ac.uk" ident: "willy") by vger.rutgers.edu with ESMTP id <971062-31949>; Wed, 3 Jun 1998 19:15:16 -0400
  11. Received: (from willy@localhost)
  12.     by odie.barnet.ac.uk (8.8.6/8.8.6) id BAA05243
  13.     for linux-arm@vger.rutgers.edu; Thu, 4 Jun 1998 01:31:31 +0100
  14. From: Matthew Wilcox <willy@odie.barnet.ac.uk>
  15. Message-Id: <199806040031.BAA05243@odie.barnet.ac.uk>
  16. Subject: install without reformatting
  17. To: linux-arm@vger.rutgers.edu
  18. Date:     Thu, 4 Jun 1998 01:31:30 +0100 (BST)
  19. X-Mailer: ELM [version 2.4 PL25]
  20. MIME-Version: 1.0
  21. Content-Type: text/plain; charset=US-ASCII
  22. Content-Transfer-Encoding: 7bit
  23. X-Orcpt: rfc822;linux-arm@vger.rutgers.edu
  24. Sender: owner-linux-arm@vger.rutgers.edu
  25. Precedence: bulk
  26. X-Loop: majordomo@vger.rutgers.edu
  27. Status: RO
  28.  
  29.  
  30. I've finished my exams now (raay! ;-) and I've been working on a method
  31. for installing ARMLinux without repartitioning your hard drive.  I agree
  32. with Russell that a loopback mount is the way to go, and I've now got
  33. an ext2 file on my ADFS partition acting as a partition.  Both reading
  34. and writing work, though I've not stressed it too hard.
  35.  
  36. Russell, do you have a booter which supports the initrd method?
  37. Otherwise, I might just do something which requires you to leave a boot
  38. floppy in permanently - would people find that acceptable while they're
  39. fiddling with the system?  I'm also less than sure that this is always
  40. going to work - non techy people can skip the next paragraph.
  41.  
  42. An initrd would do the following:
  43.   initrd gets copied to ram0
  44.   ram0 gets mounted on /
  45.   kernel executes /linuxrc -- this is all standard initrd stuff
  46.   /linuxrc is a program which:
  47.     mounts proc on /proc
  48.     mounts /dev/hda1 on /adfs
  49.     losetup /dev/loop0 /adfs/linux
  50.     cat 0700 > /proc/sys/realrootdev (or something..)
  51.     unmounts /proc
  52.   then it exits and the initrd code
  53.   remounts / on /initrd
  54.   mounts loop0 on /
  55.   boot sequence continues as normal - ie /sbin/init
  56.  
  57. The careful observer will now be asking `but what happens to /adfs?'.
  58. And the answer is that _in 2.0_ it stays mounted - on /initrd/adfs
  59. without /proc/mounts being updated.  This is work-roundable, but it
  60. means that the initrd can never be freed and it'll be taking up ram.
  61. Perhaps I need to introduce a special variant of initrd that copes with
  62. having multiple filesystems mounted.  Maybe I'll ask on linux-kernel
  63. next week when everyone's calmed down from Linux Expo.
  64.  
  65. -- 
  66. Set Alias$Case Set Alias$[ |||| |MSet Alias$Otherwise Set Alias$[ \ Matthew
  67. "" |MSet Alias$When If %0=%%0 Then Set Alias$[ "" ||MIf %0=%%0    \ Wilcox
  68. Then Set Alias$Otherwise Set Alias$[ |||||||||||||||| ||MIf       \
  69. %0=%%0 Then Set Alias$When Set Alias$[ ||||||||||||||||
  70. unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu